package com.lanou.mapper;

import com.lanou.pojo.ConfigHouseEntity;
import com.lanou.pojo.PaymentPreAccountEntity;
import com.lanou.pojo.PaymentPreEntity;
import com.lanou.pojo.PaymentTempEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface prePayment {
    public List<PaymentPreEntity> selectPaymentPreList(@Param("resourceName") String resourceName, @Param("feeUser") String feeUser, @Param("type") String type, @Param("feeItemName") String feeItemName, @Param("payType") String payType);

    public void addPrePayment(@Param("id") String id, @Param("resourceId") String resourceId, @Param("feeItemId")String feeItemId, @Param("resourceName") String resourceName, @Param("feeUser") String feeUser, @Param("feeItemName") String feeItemName, @Param("payType") String payType, @Param("amt") String amt, @Param("operateTime") Date operateTime);

   public void addPrePaymentAccount(@Param("id") String id, @Param("resourceId") String resourceId, @Param("feeItemId")String feeItemId, @Param("resourceName") String resourceName,  @Param("amt") String amt);

    public PaymentPreAccountEntity selectPaymentPreAccount(String resourceName);

    public List<PaymentPreAccountEntity>  selectPaymentPreAccountMessage(String resourceName);

    public void updatePrePaymentAccount(@Param("amt") String amt,@Param("lastModifyUserId")String lastModifyUserId,@Param("feeItemId") String feeItemId);
    public List<String> selectPayItem(String resourceName );

    public  void  updatePre (@Param("lastModifyUserId") String lastModifyUserId,@Param("feeItemId") String feeItemId);

    public List<ConfigHouseEntity> selectShopMessageList();

    public void insertConfihHouse(@Param("block") String block,@Param("building") String building,@Param("floor") String floor,@Param("code") String code,@Param("buildingSquare") String buildingSquare,@Param("useSquare")String useSquare,@Param("rentFee") String rentFee);
//    String block,String building,String floor,String code,String buildingSquare,String useSquare,String rentFee
}
